package com.hxf.dao.facade;

import javax.annotation.Resource;

import org.springframework.stereotype.Repository;

import com.hxf.dao.BaseDao;
import com.hxf.dao.appraisal.AppraisalDao;
import com.hxf.dao.coupons.CouponsDao;
import com.hxf.dao.food.MealMenuDao;
import com.hxf.dao.meal.AreaDao;
import com.hxf.dao.meal.MealBoxDao;
import com.hxf.dao.meal.MealStyleDao;
import com.hxf.dao.meal.RestaurantDao;
import com.hxf.dao.menu.MenuDao;
import com.hxf.dao.order.OrderDao;
import com.hxf.dao.preferential.PreferentialDao;
import com.hxf.dao.privilege.PrivilegeDao;
import com.hxf.dao.role.RoleDao;
import com.hxf.dao.user.AdminUserDao;
import com.hxf.dao.user.AdminUserRoleDao;
import com.hxf.dao.user.AppUserDao;
import com.hxf.dao.user.RestaurantUserDao;
import com.hxf.dao.user.UserDao;
import com.hxf.dao.version.VersionDao;
import com.hxf.dto.AppraisalDto;

/**
 * DAO工厂实现类
 * @author tengyicheng
 * @version [1.0, 2013/09/22
 * @see [相关类/方法]
 * @since [产品/模块版本]
 */
@Repository("daoFacade")
public class DAOFacadeForUser implements DAOFacade {
	
	@Resource
	private BaseDao baseDao;
	
	@Resource
	private UserDao userDao;
	
	@Resource
	private RoleDao roleDao;
	
	@Resource
	private MenuDao menuDao;
	
	@Resource
	private PrivilegeDao privilegeDao;
	
	@Resource
	private RestaurantDao restaurantDao;
	
	@Resource
	private AreaDao areaDao;
	
	@Resource
	private MealStyleDao mealStyleDao;

	@Resource
	private MealBoxDao mealBoxDao;
	
	@Resource
	private MealMenuDao mealMenuDao;
	
	@Resource 
	private PreferentialDao preferentialDao;
	
	@Resource
	private OrderDao orderDao;
	
	@Resource
	private VersionDao versionDao;
	
	@Resource
	private AdminUserDao adminUserDao;
	
	@Resource
	private RestaurantUserDao restaurentUserDao;
	
	@Resource
	private AppUserDao appUserDao;
	
	@Resource
	private AdminUserRoleDao adminUserRoleDao;
	
	@Resource
	private AppraisalDao appraisalDao;
	
	@Resource
	private CouponsDao couponsDao;

	public BaseDao getBaseDao() {
		return baseDao;
	} 

	public UserDao getUserDao() {
		return userDao;
	}
 
	public RoleDao getRoleDao() {
		return roleDao;
	}
 
	public PrivilegeDao getPrivilegeDao() {
		return privilegeDao;
	}
 
	public MenuDao getMenuDao() {
		return menuDao;
	}
 
	public RestaurantDao getRestaurantDao() {
		return restaurantDao;
	}
 
	public AreaDao getAreaDao() {
		return areaDao;
	}
 
	public MealStyleDao getMealStyleDao() {
		return mealStyleDao;
	}
 
	public MealBoxDao getMealBoxDao() {
		return mealBoxDao;
	}
 
	public MealMenuDao getMealMenuDao() {
		return mealMenuDao;
	}

	public PreferentialDao getPreferentialDao() {
		return preferentialDao;
	}

	public OrderDao getOrderDao() {
		return orderDao;
	}

	@Override
	public VersionDao getVersionDao() {
		return versionDao;
	}
	
	@Override
	public AdminUserDao getAdminUserDao(){
		return adminUserDao;
	}
	
	@Override
	public RestaurantUserDao getRestaurantUserDao(){
		return restaurentUserDao;
	}
	
	@Override
	public AppUserDao getAppUserDao(){
		return appUserDao;
	}
	
	@Override
	public AdminUserRoleDao getAdminUserRoleDao(){
		return adminUserRoleDao;
	} 
	
	@Override
	public AppraisalDao getAppraisalDao() {
		return appraisalDao;
	}

	@Override
	public CouponsDao getCouponsDao() {
		return couponsDao;
	}
}
